<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>我的收藏</title>

        <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport"/>
        <meta name="renderer" content="webkit"/>
        <meta http-equiv="Cache-Control" content="no-siteapp"/>
        <link rel="stylesheet" href="/Public/Wap/hpf/css/Hpfstyle.css?r={:mt_rand(10,99)}" />
        <script type="text/javascript" src="/Public/Member/js/jquery.min.js"></script>
    </head>
    <script>
    	$(function(){
            $('body').on('click','.ajax-load',function(){
                $.get($(this).attr('href'),{},function(r){
                    r.status && $('body').html(r.html);
                },'json');
                return false;
            })
        })
    </script>
	<style>
        .clear{clear: both;}
		.sjsTjtop li{padding: 0;}
		.sjsTjtop li a{padding: 1em 0;display: block;color: #999;}
		.sjsTjtop{background-color: #efefef;}
        .sjsTjtop>li{width: 20%;}
    
        body{background: #f1f1f1;}

        .allList{padding: 1rem; margin-top: 4em;}
        .allList dl{margin-top: 1rem;}
        .allList .designer{}
        .f0{float: left;}
        .f1{float: right;}

        .allList dl{margin-top: 0;}
        .allList .product{margin: 0rem;}
        .allList .product dd{padding: 0rem;width: 48%;background: #161617;border-bottom: 0;margin-bottom: 1rem;color: #DDD;}
        .allList .product dd .aimg{ margin-top:0;}
        .allList .product dd .atext{ font-size: 1.2rem; line-height: 1.8rem; margin-top: 0;display: block;padding: 0.4rem;}
        .allList .product dd .pp{display: block; padding: 0.3rem; padding-top: 0rem;}
        .allList .product dd .pp b{color: #a9d72c;font-weight: bold; font-size: 1.2rem;}
        .allList .product dd .pp i{color: #a9d72c; font-size: 1.2rem; float: right; margin-right: 0.5rem; background: url('/Public/Wap/hpf/images/ico-xin.png') 0 0.1rem no-repeat; -webkit-background-size: auto 100%;
        background-size: auto 80%; height: 1rem;height: 1.3rem;padding-left: 1.6rem;line-height: 1.4rem;}


        .allList .works{margin: 0rem;}
        .allList .works dd{padding: 0rem;width: 48%;background: #eae9eb;border-bottom: 0;margin-bottom: 1rem;}
        .allList .works dd .aimg{ margin-top:0;}
        .allList .works dd .atext{ font-size: 1.2rem; line-height: 1.8rem; margin-top: 0;display: block;padding: 0.4rem;}
		.allList .empty{background: none !important;color: #DDD;}

	</style>
    <body>
       <include file='Collect/nav'/>
        <div class="allList">
            <dl class="product">
                <dt><i>◆</i><a href="#">我收藏的商品</a></dt>
                <notempty name='product'>
                    <foreach name="product" item="vo" key="i">
                        <dd class="f{$i%2}">
                            <a href="{:U('Shop/detail',array('id'=>$vo['pid']))}" class="aimg"><img src="{:get_cover($vo['pic'],'path')}" /></a>
                            <a href="{:U('Shop/detail',array('id'=>$vo['pid']))}" class="atext">{$vo.pname}{$i}</a>
                            <p class="pp">
                                <b>￥ {$vo.price}</b>
                                <i>{$vo.collect}</i>
                            </p>
                        </dd>
                    </foreach>
                <else/>
                <dd class="empty" style="padding-left: 2em;">暂无收藏，<a href="{:U('Index/index')}">点此回到首页</a></dd>
                </notempty>
                <div class="clear"></div>
            </dl>
            <dl class="designer">
                <dt><i>◆</i><a href="#">我收藏的设计师</a></dt>
                <notempty name='designer'>
                     <dd>
                    <div class="scshj">
                    	<div class="scshjLeft">
                    		<a href="{:U('Designer/detail',array('id'=>$designer['tid']))}" class="designer-header-pic"><img src="{$designer.cover|get_cover='path'}" alt=""></a>
                    	</div>
                    	<div class="scshjRight">
                    		<div class="intro">
                                 <div class="pdiv">
                                    <h3>{$designer.dname}</h3>
                                    <div class="zhiwei"><h4>{$designer.job}</h4>  <span>{$designer.feature}</span></div>
                                    <p>{$designer.content}</p>
                                 </div>
                            </div>
                            <div class="do">
                                <p>
                                    <a href="#" <if condition='$designer.status eq 1'>class="on"<else/>class="set"</if>>
                                        <i></i>休息</a>
                                    <a href="tel:{$designer.phone}"><i><img width="100%" src="/Public/Member/images/phone-ico.png" alt=""></i>联系</a>
                                </p>
                            </div>
                    	</div>
                    </div>
                </dd>
                    <else/><dd class="empty" style="padding-left: 2em;">暂无收藏，<a href="{:U('Index/index')}">点此回到首页</a></dd>
                </notempty>
            <div class="clear"></div>
            </dl>
            <dl class="shop">
                <dt><i>◆</i><a href="#">我收藏的门店</a></dt>
                <notempty name='store'>
                <dd>
                    <a href="{:U('Store/detail',array('id'=>$store['tid']))}" class="aimg"><img src="{$store.pic|get_cover='path'}" alt=""></a>
                    <p>
                        <a href="{:U('Store/detail',array('id'=>$store['tid']))}" class="atext">{$store.sname}</a>
                        <a href="{:U('Store/driver',array('lon'=>$store['lon'],'lat'=>$vo['lat'],'bid'=>$vo['bid']))}" class="right"><i><img src="/Public/Member/images/jt-ico.png" alt=""></i>到这里去</a>
                    </p>

                </dd>
                <else/><dd class="empty" style="padding-left: 2em;">暂无收藏，<a href="{:U('Index/index')}">点此回到首页</a></dd></notempty>
            </dl>
            <dl class="works">
                <dt><i>◆</i><a href="#">我收藏的作品</a></dt>
                <notempty name='works'>
                    <foreach name="works" item="vo" key="i">
                    <dd class="f{$i%2}">
                        <a href="{:U('Works/detail',array('id'=>$vo['wid']))}" class="aimg"><img src="{:get_cover($vo['pic'],'path')}" /></a>
                        <a href="{:U('Works/detail',array('id'=>$vo['wid']))}" class="atext">{$vo.wname}</a>
                    </dd>
                    </foreach>
                    <else/>

                    <dd class="empty" style="padding-left: 2em;">暂无收藏，<a href="{:U('Index/index')}">点此回到首页</a></dd>
                </notempty>
            </dl>
            <div class="clear"></div>
        </div>
    </body>
</html>  